extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]火控雷达"
	att.cri = 0.25
	att.criR = 0.25
	att.atkRan = 2
	info = "每秒赋予当前目标及其周围(十字范围)敌人2层<重力>\n[color=#DC143C]同时装备三件时可升级[/color]"
	
func _upS():
	if masCha == null or masCha.isDeath or masCha.aiCha == null:return
	for i in masCha.getCellChas(masCha.aiCha.cell, 1, 1):
		if i.team != masCha.team:
			masCha.castBuff(i, buff.b_zhongLi.new(2))

func upgrade():
	name = "[color=#FFFF00][史诗]火控雷达"
	info = "每秒赋予当前目标及其周围(十字范围)敌人2层<重力>"
	att.cri = 0.5
	att.criR = 0.5
	att.atkRan = 3